//
// C++ Implementation: snapshotmanager
//
// Description: 
//
//
// Author:  <>, (C) 2008
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include <QtCore/QtPlugin>
#include <QDebug>
#include "backend.h"

Q_EXPORT_PLUGIN2(wormhole_fake, Backend)

static Backend *s_instance = 0;



Backend *Backend::instance()
{
    Q_ASSERT(s_instance);
qDebug() << "fake->istance()";
    return s_instance;
}

Backend::Backend(QObject *parent, const QVariantList &)
    : BackendInterface(parent)
{
    Q_ASSERT(s_instance == 0);
    s_instance = this;
}

#include "moc_backend.moc"
